package cc.yaomm.common.basic.constant;

/**
 * <p>@Description : 系统基础常量</p>
 * <p>@Author : QiLin.Xing </p>
 * <p>@Date : 2019/2/18 20:52 </p>
 */
public interface DefaultConstant {

    /**
     * 业务日志
     */
    String REQUEST_LOG = "REQUEST_LOG";

    /**
     * 请求开始时间
     */
    String REQUEST_START_TIME = "REQUEST-START-TIME";

    /**
     * 请求地址
     */
    String REQUEST_URL = "REQUEST_URL";

    /**
     * 请求方法
     */
    String REQUEST_METHOD = "REQUEST_METHOD";

    /**
     * 请求BODY的数据
     */
    String REQUEST_BODY = "REQUEST_BODY";

    /**
     * 请求用户ID
     */
    String REQUEST_UID = "REQUEST-UID";

    /**
     * 请求头，AppKey
     */
    String HEADER_APP_KEY = "appKey";

    /**
     * 请求头，时间戳
     */
    String HEADER_TIMESTAMP = "timeStamp";

    /**
     * 请求头，签名
     */
    String HEADER_SIGN = "sign";

    /**
     * 请求头，客户端类型（H5,IOS,android）
     */
    String HEADER_CLIENT_TYPE = "clientType";

    /**
     * 请求头，token
     */
    String HEADER_TOKEN = "token";

    /**
     * 请求头，客户端版本
     */
    String HEADER_CLIENT_VERSION = "clientVersion";

    /**
     * 用户登录信息 key
     */
    String USER_LOGIN_INFO = "USER-LOGIN-INFO";

    int TIMEOUT = 60000;

    String GET = "GET";

    String POST = "POST";

    String PUT = "PUT";

    String DELETE = "DELETE";

    String SPRING = "spring";

    String UTF8 = "UTF-8";

    String UNKNOWN = "未知";

    String SPRING_PROFILES_ACTIVE = "spring.profiles.active";

    String SPRING_PROFILES_ACTIVE_EL = "${spring.profiles.active}";

}
